<?php		
include_once('parametros.php');	
	session_start();
	if (!empty($_SESSION['correo'])){
		$session=true;				
		$nomUsuario=$_SESSION['nomUsu'];		
		$usuRol=$_SESSION['usuRol'];								
		$ultAcceso=$_SESSION['ultAcc'];
		$usuEstado=$_SESSION['usuEst'];
		$session=$_SESSION['sessionId'];				
		$itemSession=$_SESSION['itemSession'];
		$codUsuario=$_SESSION['codUsuario'];																				
	}else{
		$session=false;
	}			
	
 if ($session==true){?>
<html>

<head>

<style type="text/css">
<!--
.Estilo3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; }
body {
	background-color: #003399;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>

<BODY TEXT="#000000" BACKGROUND="imagenes/bg_middle.gif" LINK="#000000" VLINK="#000000" ALINK="#F70404">

<script>
function cierra(){
window.top.location= "index.php";
}

</script>

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<TR>
  <TD width="387" height="30">
  <span class="Estilo3">
  BIENVENIDO : <?php echo $nomUsuario;?>  </span></TD>
 
<td width="221" align="right"  VALIGN="middle">
  <span class="Estilo3"><BR>
  </span></td>
<td width="159" align="right"  VALIGN="middle"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>&nbsp;| <a href="logout.php" target="main" onClick="cierra();">CERRAR SESION</a> |</b></font></td>

</tr></table>
</body>
</html>

 <?php } 

?>

